import api from './index'
import { axios } from '@/utils/request'
import Qs from 'qs'

export function trackSave(parameter) {
  return axios({
    url: api.TrackSava,
    method: 'post',
    data: Qs.stringify(parameter)
  })
}
export function trackDel(parameter) {
  return axios({
    url: api.TrackDel,
    method: 'post',
    data: parameter
  })
}
export function trackList(parameter) {
  return axios({
    url: api.TrackList,
    method: 'get',
    params: parameter
  })
}
export function trackInfo(parameter) {
  return axios({
    url: api.TrackInfo,
    method: 'get',
    params: parameter
  })
}
